﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ctrQuenMatKhau.ascx.cs"
    Inherits="TCHSHue.Modules.AdminControl.DangNhap.ctrQuenMatKhau" %>
<div id="trangthai" class="inbox">
    <h3 class="tieude">
        QUÊN MẬT KHẨU</h3>
    <table style="width: 100%">
        <tr>
            <td colspan="2" class="line">
            </td>
        </tr>
    </table>
    <br />
    <table>
        <tr>
            <td>
                Email
            </td>
            <td>
                &nbsp;<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ErrorMessage="Bạn chưa nhập email" ControlToValidate="txtEmail"
                    ID="RequiredFieldValidator1" runat="server" ></asp:RequiredFieldValidator><br />
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Bạn nhập email không chính xác"
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td align="center" style="">
                &nbsp;
                <asp:Button ID="bntGoi" runat="server" Text="Gởi qua email" OnClick="bntGoi_Click" />
            </td>
            <td>
            </td>
        </tr>
    </table>
    <div runat="server" visible="false" id="loiEmail" class="ui-widget" style="margin: 2px;">
        <div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
            <p>
                <span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
                Địa chỉ email này không tồn tại</p>
        </div>
    </div>
     <div visible="false" class="ui-widget" id="thongBao" runat="server">
        <div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
            <p>
                <span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
                <asp:Label ID="lbThongBao" runat="server" Text="Gởi mật khẩu thành công!"></asp:Label></p>
        </div>
    </div>
    <br />
    <asp:HyperLink ID="HyperLink1" CssClass="box back" NavigateUrl="~/Modules/Admin.aspx"
        runat="server">Quay lại đăng nhập</asp:HyperLink>
    <br />
    <br />
</div>
